package domain;

public class CartItem {

	private int quantity;

	private float discount;

	private Product product;

	public CartItem(int quantity, float discount, Product product) {
		super();
		this.quantity = quantity;
		this.discount = discount;
		this.product = product;
	}

	public int getQuantity() {
		return this.quantity;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	public float getDiscount() {
		return this.discount;
	}

	public void setDiscount(float discount) {
		this.discount = discount;
	}
	
	public Product getProduct(){
		return this.product;
	}
	
	public void setProduct(Product product){
		this.product = product;
	}
	
}
